﻿using System;
using System.Collections.Generic;
using System.Text;
using RabbitMQ.Client;

namespace ESoft.RabbitMQ
{
    /// <summary>
    /// 工厂
    /// </summary>
    public interface IRabbitFactory
    {
        /// <summary>
        /// 创建管道
        /// </summary>
        /// <returns></returns>
        IModel CreateChannel();
    }
}
